package com.yunfei.api.taiKangYiLiao.enmu;

/**
 * 自定义请求状态码
 * @author ScienJus
 * @date 2015/7/15.
 */
public enum TaiKangResultStatus {
    SUCCESS(0, "成功"),
      MOBILE_NOTNULL(101, "手机号不能为空"),
     NOT_EXSITS(102, "查无结果"),
     OPER_SUCCESS(103, "操作成功");



    /**
     * 返回码
     */
    private int code;

    /**
     * 返回结果描述
     */
    private String message;

    TaiKangResultStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
